package day4;

import java.io.BufferedReader;

/**
 * @author oldliu
 * @since 1.0
 */
public class DriverTest {
    public static void main(String[] args) {
        Bus b=new Bus("118","和钢新村","大蜀山",2);
        Car c=new Car("布加迪威龙",1000);
        Taxi t=new Taxi("皖A599383","新亚客运公司",2);

        Driver d=new Driver("老刘");
        d.drive(b);
        System.out.println(">>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>");
        d.drive(c);
        System.out.println(">>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>");
        d.drive(t);
    }
}
